package com.brook.basicauth.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Brook
 */
@RestController
@RequestMapping("/salary")
public class SalaryController {

    /**
     * 代表一个查薪水的后台
     * @return
     */
    @GetMapping("/query")
    public String query() {
        return "salary";
    }
}
